#include <stdio.h>
#include <string.h>

#define MAX 100

int main(int argc, char *argv[])
{
	int n, target, a[MAX], cnt;
	int i, j;
	char buf[1024], *ps;

	gets(buf); n = atoi(buf);
	gets(buf);
	for (ps=strtok(buf, " "), i=0; ps; ps=strtok(NULL, " "), i++) {
		a[i] = atoi(ps);
	}
	gets(buf); target = atoi(buf);

	cnt = 1;
	for (i=0; i<n; i++) {
		if (a[i] > target) cnt++;
	}
	printf("%d\n", cnt);

	return 0;
}
